package com.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.reggie.dto.MyOrders;
import com.reggie.entity.Orders;


public interface OrdersService extends IService<Orders> {
    //用户下单
    void submit(Orders orders);
    Page<MyOrders> userPage(int page, int pageSize);

    Page<MyOrders> historyList(int page, int pageSize);

    Page<MyOrders> pageOrder(int page, int pageSize);
}
